import { getImgTem } from '@/config/login'
import demoStyle from './Demo.module.scss'
export default defineComponent({
  name: 'Demo1',
  setup() {
    return () => (
      <div class={demoStyle.demo}>
        <el-carousel interval={4000} type="card" height="400px">
          {getImgTem.map(item => (
            <el-carousel-item key={item}>
              <img src={item} alt="" />
            </el-carousel-item>
          ))}
        </el-carousel>
      </div>
    )
  }
})
